<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script src="../dist/vue.js"></script>
    <div id="app"></div>
    <script>
        const plugin1 = (Vue, options) => {
            console.log('plugin1')
        }
        const plugin2 = {
            install(Vue, options) {
                console.log('plugin2')
            }
        }
        debugger
        Vue.use(plugin1, { a: 1 });
        Vue.use(plugin2, { b: 2 })

        Vue.use(plugin1, { a: 1 });
        Vue.use(plugin2, { b: 2 })
        const vm = new Vue({
            el: '#app',
        })
    </script>
</body>

</html>